<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=charset=utf-8">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<title>小说推荐</title>
<style type="text/css">
.headbg {
	background-image: url(img/Lighthouse.jpg);
	background-position: center;
	background-repeat: no-repeat;
}
</style>
</head>
<body>

	<div class="row headbg">
		<div class="container">
			<h1>
				noval <small> 小说推荐 </small>
			</h1>
		</div>
	</div>
	<div class="container">
		<div class="input-group">
			<label class="pull-left"> 搜索: </label> <input type="text"
				class="form-control"> <span class="input-group-addon">x</span>
		</div>
		<br>
		<div class="row">
			<div class="col-md-8">
				<ul class="list-group">
					<c:forEach items="${novels }" var="novel" varStatus="index">
						<li class="list-group-item">

						<div class="media">
							<div class="media-left">
								<a href="#" class="thumbnail"><img src="img/logo.GIF"></img>
								</a>
							</div>
							<div class="media-right"><a href="noval?novalid=${novel.id}&chapterid=0">${index.index+1} ${novel.title }</a></div>
						</div>

					</li>
					</c:forEach>
				</ul>
			</div>
			<div class="col-md-4">
				<div class="media well">
					<div class="media-body">
						<h4 class="media-heading">广告</h4>
						<p>广而告之</p>
					</div>
				</div>
			</div>
		</div>

	</div>
	<div class="navbar navbar-default navbar-fixed-bottom">
		<ol class="breadcrumb">
			<li><a href="#">首页 </a></li>
			<li><a href="#">小说推荐</a></li>
		</ol>
	</div>

	<script src="jquery/jquery.min.js"></script>
	<script src="bootstrap/js/jquery.min.js"></script>
	<script src="bootstrap/js/bootstrap.min.js"></script>
</body>

</html>